home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Software / Complet / KDE Win / docs / FAQ.mht / faq.php < prev    next >
Encoding:
Text File  |  2005-10-07  |  34.7 KB  |  680 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
  2. <HTML><HEAD><TITLE>KDE 3</TITLE>
  3. <META content="MSHTML 6.00.2900.2722" name=GENERATOR><LINK title=default 
  4. href="/standard.css" type=text/css rel=stylesheet><LINK title=default 
  5. href="http://kde-cygwin.sourceforge.net/global.css" type=text/css 
  6. rel=stylesheet>
  7. <META http-equiv=content-type content=text/html;charset=iso-8859-1>
  8. <META content="faq; kde; qt; cygwin; windows" name=keywords>
  9. <META content="Kde cygwin homepage" name=description>
  10. <META content="Microsoft FrontPage 4.0" name=GENERATOR>
  11. <META content=FrontPage.Editor.Document name=ProgId></HEAD>
  12. <BODY>
  13. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  14.   <TBODY>
  15.   <TR id=header>
  16.     <TD id=headerpath></TD>
  17.     <TD id=headermenu colSpan=2>  </TD></TR>
  18.   <TR id=logo>
  19.     <TD vAlign=top><A href="http://kde-cygwin.sourceforge.net/kde3/"><IMG 
  20.       height=79 alt="KDE Homepage" 
  21.       src="http://kde-cygwin.sourceforge.net/images/kde_logo.jpg" width=296 
  22.       border=0></A></TD>
  23.     <TD align=middle width="20%"><FONT size=5><B><NOBR>on 
  24.       Cygwin/XFree<NOBR></B></FONT></NOBR></TD>
  25.     <TD align=middle width="30%"></TD></TR></TBODY></TABLE>
  26. <TABLE summary="">
  27.   <TBODY>
  28.   <TR>
  29.     <TD vAlign=top>
  30.       <TABLE cellSpacing=2 width=120 colpadding="0" colspacing="0">
  31.         <TBODY>
  32.         <TR>
  33.           <TD class=navselected> </TD>
  34.           <TD class=navselected>Main</TD></TR>
  35.         <TR>
  36.           <TD class=navunselected> </TD>
  37.           <TD class=navunselected><A 
  38.             href="http://kde-cygwin.sourceforge.net/">Home</A></TD></TR>
  39.         <TR>
  40.           <TD class=navunselected> </TD>
  41.           <TD class=navunselected><A 
  42.             href="http://kde-cygwin.sourceforge.net/screenshots/">Screenshots</A></TD></TR>
  43.         <TR>
  44.           <TD class=navunselected> </TD>
  45.           <TD class=navunselected><A 
  46.             href="http://kde-cygwin.sourceforge.net/download/">Download</A></TD></TR>
  47.         <TR>
  48.           <TD class=navunselected> </TD>
  49.           <TD class=navunselected><A 
  50.             href="http://kde-cygwin.sourceforge.net/source/">Getting 
  51.           Source</A></TD></TR>
  52.         <TR>
  53.           <TD class=navunselected> </TD>
  54.           <TD class=navunselected><A 
  55.             href="http://kde-cygwin.sourceforge.net/faq/">FAQ</A></TD></TR>
  56.         <TR>
  57.           <TD class=navunselected> </TD>
  58.           <TD class=navunselected><A 
  59.             href="http://kde-cygwin.sourceforge.net/ml/">Mailing Lists and 
  60.             forums</A></TD></TR>
  61.         <TR>
  62.           <TD class=navunselected> </TD>
  63.           <TD class=navunselected><A 
  64.             href="http://kde-cygwin.sourceforge.net/contrib/">How to 
  65.             contribute</A></TD></TR>
  66.         <TR>
  67.           <TD class=navunselected> </TD>
  68.           <TD class=navunselected><A 
  69.             href="http://kde-cygwin.sourceforge.net/links/">Links</A></TD></TR>
  70.         <TR>
  71.           <TD class=navunselected> </TD>
  72.           <TD class=navunselected><A 
  73.             href="http://sourceforge.net/tracker/?group_id=27249&atid=389712">Bug 
  74.             tracking</A></TD></TR>
  75.         <TR>
  76.           <TD class=navunselected> </TD>
  77.           <TD class=navunselected><A 
  78.             href="http://sourceforge.net/projects/kde-cygwin/">SourceForge</A></TD></TR>
  79.         <TR>
  80.           <TD class=navtitle colSpan=2><B>Packages<B></B></B></TD></TR>
  81.         <TR>
  82.           <TD class=navunselected> </TD>
  83.           <TD class=navunselected><A 
  84.             href="http://kde-cygwin.sourceforge.net/kde3/index.php">KDE 
  85.         3</A></TD></TR>
  86.         <TR>
  87.           <TD class=navunselected> </TD>
  88.           <TD class=navunselected><A 
  89.             href="http://kde-cygwin.sourceforge.net/qt3/index.php">QT 3 
  90.         </A></TD></TR>
  91.         <TR>
  92.           <TD class=navunselected> </TD>
  93.           <TD class=navunselected><A 
  94.             href="http://kde-cygwin.sourceforge.net/qt3-win32/index.php"><NOBR>Qt 
  95.             3/Win Free</NOBR></A></TD></TR>
  96.         <TR>
  97.           <TD class=navleftnolink colSpan=2> </TD></TR>
  98.         <TR>
  99.           <TD class=navunselected> </TD>
  100.           <TD class=navunselected><A 
  101.             href="http://kde-cygwin.sourceforge.net/packages/">Additional 
  102.             packages</A></TD></TR>
  103.         <TR>
  104.           <TD class=navtitle colSpan=2><B>Archive<B></B></B></TD></TR>
  105.         <TR>
  106.           <TD class=navunselected> </TD>
  107.           <TD class=navunselected><A 
  108.             href="http://kde-cygwin.sourceforge.net/kde2/">KDE 2</A></TD></TR>
  109.         <TR>
  110.           <TD class=navunselected> </TD>
  111.           <TD class=navunselected><A 
  112.             href="http://kde-cygwin.sourceforge.net/kde1/">KDE 1</A></TD></TR>
  113.         <TR>
  114.           <TD class=navleftnolink colSpan=2> </TD></TR>
  115.         <TR>
  116.           <TD class=navunselected> </TD>
  117.           <TD class=navunselected><A 
  118.             href="http://kde-cygwin.sourceforge.net/qt2/">QT 2</A></TD></TR>
  119.         <TR>
  120.           <TD class=navunselected> </TD>
  121.           <TD class=navunselected><A 
  122.             href="http://kde-cygwin.sourceforge.net/qt1/">QT 1</A></TD></TR>
  123.         <TR>
  124.           <TD class=navleftnolink colSpan=2> </TD></TR>
  125.         <TR>
  126.           <TD class=navunselected> </TD>
  127.           <TD class=navunselected><A 
  128.             href="http://kde-cygwin.sourceforge.net/qt2-win32/">QT 
  129.         2/Win32</A></TD></TR></TBODY></TABLE></TD>
  130.     <TD width=1 bgColor=#c0c0c0></TD>
  131.     <TD vAlign=top>
  132.       <TABLE>
  133.         <TBODY>
  134.         <TR>
  135.           <TD width=130><B>KDE 3</B></TD>
  136.           <TD class=navunselected><A 
  137.             href="http://kde-cygwin.sourceforge.net/kde3/index.php">Overview</A></TD>
  138.           <TD class=navunselected><A 
  139.             href="http://kde-cygwin.sourceforge.net/kde3/requirements.php">Requirements</A></TD>
  140.           <TD class=navunselected><A 
  141.             href="http://kde-cygwin.sourceforge.net/kde3/screenshots.php">Screenshots</A></TD>
  142.           <TD class=navunselected><A 
  143.             href="http://kde-cygwin.sourceforge.net/kde3/installation.php">Installation</A></TD>
  144.           <TD class=navunselected><A 
  145.             href="http://kde-cygwin.sourceforge.net/kde3/compiling.php">Compiling</A></TD>
  146.           <TD class=navselected>FAQ</TD></TR></TBODY></TABLE>
  147.       <P></P>
  148.       <P>This frequently answered questions are collected from the kde-cygwin 
  149.       mailing list and the kde-cygwin related sourceforge foren. If you don't 
  150.       find an answer for your problem here, please take a look directly into the 
  151.       mailing list and/or the foren.</P>
  152.       <P>Index</P>
  153.       <H3></H3>
  154.       <UL></UL>
  155.       <H3>Configuration </H3>
  156.       <UL>
  157.         <LI><A 
  158.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#single_apps">I 
  159.         don't like to use the whole desktop, only single kde applications. How 
  160.         do I do that ? </A>
  161.         <LI><A 
  162.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#copy_cygwin">How do 
  163.         I move/copy a cygwin-kde installation to another computer ? </A>
  164.         <LI><A 
  165.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#printing">How do I 
  166.         configure Printing in kde ? </A>
  167.         <LI><A 
  168.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#truetype">The 
  169.         default kde fonts looks very ugly - How could I use Windows True Type 
  170.         fonts ? </A>
  171.         <LI><A 
  172.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#anti-aliasing">Does 
  173.         font anti-aliasing works ? </A>
  174.         <LI><A 
  175.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#minimal_kde3">How 
  176.         do I run a minimal KDE 3 ? </A></LI></UL>
  177.       <H3>Troubleshooting </H3>
  178.       <UL>
  179.         <LI><A href="http://kde-cygwin.sourceforge.net/kde3/faq.php#rebase">I 
  180.         get an error message "*** unable to remap ... to same address as parent" 
  181.         What could I do ? </A>
  182.         <LI><A 
  183.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#rebaseall">Why must 
  184.         I run rebaseall after a clean install ? </A>
  185.         <LI><A 
  186.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#lib_not_found">The 
  187.         cygwin window I used to kick off KDE is outputting that it can't load a 
  188.         library, is that normal? </A>
  189.         <LI><A 
  190.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dcopserver_running">Why 
  191.         do I get the message "It looks like dcopserver is already running.." ? 
  192.         </A>
  193.         <LI><A 
  194.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dcop_auth">Why do I 
  195.         get the message "DCOPClient::attachInternal. Attach failed 
  196.         Authentication Rejected" ? </A>
  197.         <LI><A 
  198.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dcop_size">Why do I 
  199.         get the message "Error reading from 
  200.         /home/.../.DCOPserver_..._127.0.0.1_0, didn't read the expected .. 
  201.         bytes" ? </A>
  202.         <LI><A href="http://kde-cygwin.sourceforge.net/kde3/faq.php#reserve">Why 
  203.         do I get the message "cygheap_fixup_in_child: Couldn't reserve ... bytes 
  204.         of space for cygwin's heap ..." ? </A>
  205.         <LI><A 
  206.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#0xc000005">Why do I 
  207.         get the error message "The application failed to initialize properly 
  208.         (0xc0000005)..." when running applications I have self compiled ? </A>
  209.         <LI><A 
  210.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#kcminit">With 
  211.         cygwin 1.5.5-1 starting the small KDE desktop works, but starting full 
  212.         KDE hangs - What could I do ? </A>
  213.         <LI><A 
  214.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#win9x_env">After 
  215.         running startkde.bat under windows 9x I got the following messages: Out 
  216.         of environment space - What can I do ? </A>
  217.         <LI><A href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dll_a">I 
  218.         have installed the KDE3 devel setup package, but I cannot find any 
  219.         *.dll.a files in the kde's lib dir. What's going wrong ? </A>
  220.         <LI><A 
  221.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#debug_kde3">How do 
  222.         I debug the KDE3 start procedure in case of problems ? </A>
  223.         <LI><A href="http://kde-cygwin.sourceforge.net/kde3/faq.php#png12">I've 
  224.         got a message about a missing file 'cygpng12.dll' - What could I do ? 
  225.         </A></LI></UL>
  226.       <H3>KDevelop </H3>
  227.       <UL>
  228.         <LI><A 
  229.         href="http://kde-cygwin.sourceforge.net/kde3/faq.php#kdevelop_appwizard">I 
  230.         can't create a new project - what's going wrong ? </A></LI></UL>
  231.       <UL></UL>
  232.       <HR>
  233.  
  234.       <H3>Configuration </H3>
  235.       <H2><A name=single_apps>I don't like to use the whole desktop, only single 
  236.       kde applications. How do I do that ? </A></H2>Running kde applications 
  237.       without the desktop requires running some basic application like shown 
  238.       below: <PRE class=shell>ipc-daemon2 &
  239. Xwin -multiwindow &
  240. kdeeinit --no-kded --nofork &
  241. </PRE>After that you can run any kde application 
  242.       <UL>
  243.         <LI>starting kwrite <PRE class=shell>kwrite
  244. </PRE>
  245.         <LI>starting kate <PRE class=shell>kwrite
  246. </PRE>
  247.         <LI>starting kdevelop <PRE class=shell>kdevelop
  248. </PRE></LI></UL>You may save some starting time by using the following 
  249.       sequence: <PRE class=shell>kwrite --nofork &
  250. </PRE>
  251.       <P>This prevents that kwrite forks itself into the background and release 
  252.       the shell, which is very time consuming. Instead it instructs the shell to 
  253.       run the application independing from the shell, which goes much faster. (I 
  254.       have measured 50% lower startup times for kicker) Please note, that the 
  255.       --nofork isn't supported by all applications, konqueroer for example does 
  256.       not switch itself into the background by default, so you have to start it 
  257.       with: <PRE class=shell>konqueror &
  258. </PRE>
  259.       <H2><A name=copy_cygwin>How do I move/copy a cygwin-kde installation to 
  260.       another computer ? </A></H2>The regular procedure is splited into two 
  261.       parts. Please note that this will only work between WinNT,Win2K and WinXp, 
  262.       not between one of this and Wi n 9x. 
  263.       <OL>
  264.         <LI>Copy the whole directory tree containing the cygwin (by default 
  265.         c:\cygwin) to the other computer. 
  266.         <LI>Export the cygwin related registry settings in a file say 
  267.         cygwin.reg, change the required path in the export file to the new 
  268.         locations and apply the registry settings on the new computer by double 
  269.         clicking on the file. 
  270.         <P>The relating registry key is located below 
  271.         HKEY_LOCAL_MACHINE\Software\Cygnus Solutions. </P></LI></OL>
  272.       <H2><A name=printing>How do I configure Printing in kde ? </A></H2>
  273.       <P>Printing support in kde-cygwin is currently performed with the 
  274.       ghostscript package. 
  275.       <UL>
  276.         <LI>Install the ghostscript-x11 and cygutils package, if not already 
  277.         installed. 
  278.         <LI>Edit the file /opt/kde3/bin/cygprint and change the related 
  279.         variables for your settings. The possible values could be extracted from 
  280.         the <A href="http://www.cs.wisc.edu/~ghost/">ghostscript</A> 
  281.         documentation. <PRE class=shell># for network shares use "\\\\server\\share"
  282. PRINTER="lpt1:"
  283. PRINTER_TYPE=deskjet
  284. PAPER_SIZE=a4
  285. </PRE>
  286.         <LI>In the printing dialog, select "Print with external application" in 
  287.         the printing dialog and enter <B>cygprint</B> and click "Print" to 
  288.         perform the printing. <BR>In case of errors you may inspect the file 
  289.         /var/log/cygprint.log, which contains all output from the cygprint tool. 
  290.         </LI></UL>
  291.       <P>An example of the used printing script is listed below: <PRE>$ cat >/opt/kde3/bin/cygprint
  292. #!/bin/sh
  293. PRINTER="\\\\server\\share"
  294. #PRINTER="lpt1:"
  295. PRINTER_TYPE=deskjet
  296. PAPER_SIZE=a4
  297.  
  298. LOG_FILE=/var/log/cygprint.log
  299. echo $0 $* >>$LOG_FILE
  300. if test -z "$1"; then
  301.         echo "usage $0 <FILE>"
  302.         exit 1
  303. fi
  304. #$TMPFILE=$1
  305. if test -n `echo $1 | grep "^/tmp"`; then
  306.         TMPFILE=$1.$$
  307. else
  308.         TMPFILE=/tmp/$1.$$
  309. fi
  310. GS_PARAMS="-q -sPAPERSIZE=$PAPER_SIZE -sDEVICE=$PRINTER_TYPE -sOutputFile=$TMPFILE -dNOPAUSE -dBATCH $1"
  311. echo "gs $GS_PARAMS" >>$LOG_FILE
  312. gs $GS_PARAMS >>$LOG_FILE 2>&1
  313.  
  314. # in case of errors
  315. if test "$?" != "0"; then
  316.         exit $?
  317. fi
  318.  
  319. if test -f $TMPFILE; then
  320.         echo "/usr/bin/lpr -l -d $PRINTER $TMPFILE" >>$LOG_FILE
  321.         /usr/bin/lpr -l -d $PRINTER $TMPFILE >>$LOG_FILE 2>&1
  322.         echo "rm $TMPFILE" >>$LOG_FILE
  323.         rm $TMPFILE >>$LOG_FILE 2>&1
  324. fi
  325. exit $?
  326. </PRE>
  327.       <H2><A name=truetype>The default kde fonts looks very ugly - How could I 
  328.       use Windows True Type fonts ? </A></H2>Install the Windows True Type fonts 
  329.       with the KControl font installer module. 
  330.       <P>You should change your current cygwin user to root <PRE class=shell>(old)   Habacker:unused_by_nt/2000/xp:11002:10545:....:/home/Habacker:/bin/bash
  331. </PRE><PRE class=shell>(new)   Habacker:unused_by_nt/2000/xp:0:0:....:/home/Habacker:/bin/bash
  332. </PRE>
  333.       <UL>
  334.         <LI>Create a new directory <B>/usr/X11R6/lib/X11/fonts/truetype</B> if 
  335.         not existant from the bash shell: <PRE class=shell>mkdir /usr/X11R6/lib/X11/fonts/truetype
  336. </PRE>
  337.         <LI>Run from kicker: System Administration->Font Installer or start <PRE class=shell>kcmshell system/kcmfontinst
  338. </PRE>
  339.         <LI>Switch the view to the "extended mode", select the folder "truetype" 
  340.         and click "Add". 
  341.         <LI>Then go to the font directory of your windows installation, which 
  342.         may depend on your os type and cygwin mount path settings e.g. <PRE class=shell>/cygdrive/c/Windows/fonts or
  343. /cygdrive/c/WINNT/fonts or
  344. /c/Windows/fonts or
  345. /c/WINNT/fonts
  346. </PRE>
  347.         <LI>select the desired fonts and select 'OK'. 
  348.         <LI>Then press "Apply" to add the selected fonts to you KDE 
  349.         installation. This step may need some time. Error messages while 
  350.         performing this step could be ignored. 
  351.         <LI>At last you can change KDE font settings with <PRE class=shell>kcmshell LookNFeel/fonts
  352. </PRE>
  353.         <LI>If you are using <B>kdebase release 3.1.4-1 or lower</B> the newly 
  354.         created font path isn't available for X in further X session, which 
  355.         could be fixed by a little shell script inserted into 
  356.         /opt/kde3/bin/startkde. How to apply: 
  357.         <P>Search for the following code lines in /opt/kde3/bin/startkde <PRE class=shell>#
  358. # Check first for current resolution/depth
  359. #
  360. export X=`xdpyinfo |grep dimensions:|cut -d " " -f 7|cut -d "x" -f 1`
  361. export Y=`xdpyinfo |grep dimensions:|cut -d " " -f 7|cut -d "x" -f 2`
  362. export D=`xdpyinfo |awk '/depths/ {print $NF}'`
  363. [ -e "$HOME/.skel/kdebase" ] || INITIAL="--force"
  364. </PRE>and append the following lines: <PRE class=shell>#
  365. # add truetype font dir to font list exists (kcminit does not do this)
  366. #
  367. if test -d "/usr/X11R6/lib/X11/fonts/truetype"; then
  368.         xset +fp /usr/X11R6/lib/X11/fonts/truetype
  369. fi
  370. </PRE>
  371.         <LI>Now you are ready to use the Windows true type fonts. We have good 
  372.         very experiences on Windows XP with the Verdana or Tohama fonts. 
  373. </LI></UL>
  374.       <H2><A name=anti-aliasing>Does font anti-aliasing works ? 
  375.       </A></H2>Currently no, but a good workaround is to use the Windows true 
  376.       type fonts. See topic  <A 
  377.       href="http://kde-cygwin.sourceforge.net/kde3/faq.php#truetype">The default 
  378.       kde fonts looks very ugly - How could I use Windows True Type fonts 
  379.       ?</A> . 
  380.       <H2><A name=minimal_kde3>How do I run a minimal KDE 3 ? </A></H2>After you 
  381.       have installed the latest qt and KDE release you can start a minimal KDE 3 
  382.       with the following commands (for KDE >= 3.1.4): <PRE class=shell>export SHELL=/bin/bash
  383. ipc-daemon2 &
  384. XWin -multiwindow -clipboard &
  385. kdeinit +kcminit &
  386. kicker & (optional)
  387. ... &
  388. </PRE>No you can start any kde application from the bash shell by using 
  389.       the following command: <PRE class=shell><KDE app> &
  390. </PRE>where <KDE app>is the name of the requested kde application. 
  391.       <H3>Troubleshooting </H3>
  392.       <H2><A name=rebase>I get an error message "*** unable to remap ... to same 
  393.       address as parent" What could I do ? </A></H2>This error indicates an dll 
  394.       loading problem while forking a cygwin process. This problem could be 
  395.       solved by using the <B>rebaseall</B> utility of the rebase package which 
  396.       is written by Jashon Tishler (application) and Ralf Habacker (rebasing 
  397.       related win32 imagehelp libary replacement for all cygwin supported 
  398.       platforms). 
  399.       <P>To fix this problem please install the rebase utility through the 
  400.       cygwin installer (if not already present), stop all cygwin processes but 
  401.       bash and run the following command (add -v if you like to get a detailed 
  402.       list of the performed actions): <PRE class=shell>$ rebaseall [-v]
  403. </PRE>This command searches all installed dll's and take care, that dll's 
  404.       does have uniq base addresses. 
  405.       <DIV class=notebox>Windows XP note:<BR>It may be required to restart your 
  406.       computer due to a problem with the windows dll cache. If some of your 
  407.       cygwin applications does not work as before rebasing, please restart. 
  408.       </DIV>
  409.       <H2><A name=rebaseall>Why must I run rebaseall after a clean install ? 
  410.       </A></H2>This rebaseall command gives each cygwin related dll a uniq base 
  411.       address to ensure an ordered dll loading in a process memory area. 
  412.       <P>By default the linker gives all dll's the same base address 
  413.       (0x10000000), which could result in a "unable to remap" problem, when a 
  414.       cygwin process tries to fork a child process. 
  415.       <P>BTW: I have heard, that this rebasing task is also done by other 
  416.       windows installer, but they don't tell about this. 
  417.       <H2><A name=lib_not_found>The cygwin window I used to kick off KDE is 
  418.       outputting that it can't load a library, is that normal? </A></H2>kdeinit, 
  419.       kde's application launcher process starts application by forking itself 
  420.       and loading the required application located in a shared library to reduce 
  421.       memory consumption and startup time. 
  422.       <P>If kdeinit does not find such a dll, it prints out the <B>informational 
  423.       message</B> "Could not load library! Trying exec....", then it tries to 
  424.       fork and exec the required application directly. 
  425.       <H2><A name=dcopserver_running>Why do I get the message "It looks like 
  426.       dcopserver is already running.." ? </A></H2>
  427.       <P>Sometime users experienced the following message: <PRE class=shell>---------------------------------
  428.  
  429. It looks like dcopserver is already running.
  430. If you are sure that it is not already running,
  431. remove /home/de067018/.DCOPserver_minniti_127.0.0.1_0
  432. and start dcopserver again.
  433.  
  434. ---------------------------------
  435. </PRE>
  436.       <P>This error indicates that the dcopserver is still running probably from 
  437.       a previous KDE session. 
  438.       <P>This could happen if one have started KDE before and the session is 
  439.       broken by unusually user intervention lilke killing the xserver or an 
  440.       internal failure (remember KDE is of beta quality). 
  441.       <P>In mostly cases you can fix this by starting KDE again. If this does 
  442.       not help open the task manager and kill the <B>dcopserver</B> process. 
  443.       <H2><A name=dcop_auth>Why do I get the message 
  444.       "DCOPClient::attachInternal. Attach failed Authentication Rejected" ? 
  445.       </A></H2>
  446.       <P>This may be file access problem in your home directory. See the 
  447.       relating thread in the kde-cygwin mailing list <A 
  448.       href="http://lists.kde.org/?l=kde-cygwin&m=106685880811768&w=2">AW: 
  449.       DCOPClient errors in WinXP</A> for further informations. 
  450.       <H2><A name=dcop_size>Why do I get the message "Error reading from 
  451.       /home/.../.DCOPserver_..._127.0.0.1_0, didn't read the expected .. bytes" 
  452.       ? </A></H2>
  453.       <P>This error message is caused by a text mounted entry in the cygwin 
  454.       mount table. Make sure, that the root dir is mounted in bin mode.See the 
  455.       following example, which shows a text mounted root path: <PRE class=shell>$ mount
  456. c:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
  457. c:\cygwin\opt\kde3 on /opt/kde3 type system (binmode)
  458. c:\cygwin\bin on /usr/bin type system (binmode)
  459. c:\cygwin\lib on /usr/lib type system (binmode)
  460. c:\cygwin on / type system (textmode)
  461.                             ^^^^^^^^
  462. </PRE>
  463.       <P>Change the mount mode to binary with the following commands: <PRE class=shell>$ cd c:/cygwin/bin (or wathever your cygwin root dir is)
  464. $ umount -s /
  465. $ mount -s -b c:/cygwin /
  466. </PRE>
  467.       <H2><A name=reserve>Why do I get the message "cygheap_fixup_in_child: 
  468.       Couldn't reserve ... bytes of space for cygwin's heap ..." ? </A></H2>If 
  469.       you got an error message similar to: <PRE class=shell> ... cygheap_fixup_in_child: Couldn't reserve 9891792 bytes of space for cygwin's heap (0x61810000 < 0x6C0000 >) in child, Win32 error 487
  470. c:\cygwin\....exe (3684): *** m.AllocationBase 0x0, m.BaseAddress 0x61810000, m.RegionSize 0x1B0000, m.State 0x10000
  471. </PRE>this indicates mostly a rebase problem. Cygwin tries to reserve an 
  472.       amount of memory on top of the address area of the cygwin1.dll. If this 
  473.       area is already allocated by another dll or shared memory segment, the 
  474.       allocation fails and the above mentioned error is raised. <BR>You can fix 
  475.       this problem by rebasing all cygwin related dll's with a base address 
  476.       below the cygwin1.dll itself. <PRE class=shell>rebaseall -b 0x61000000
  477. </PRE>
  478.       <H2><A name=0xc000005>Why do I get the error message "The application 
  479.       failed to initialize properly (0xc0000005)..." when running applications I 
  480.       have self compiled ? </A></H2>
  481.       <P>This error indicates a problem of the ld auto-import support and newer 
  482.       gcc releases using readonly variables. To avoid this problem you should 
  483.       uses a recent qt/cygwin releases (>3.3.3), which contains all required 
  484.       support or add the required stuff by hand: 
  485.       <UL>
  486.         <LI>download the <A 
  487.         href="http://cvs.sourceforge.net/viewcvs.py/kde-cygwin/qt-3/mkspecs/cygwin-g++/Attic/i386pe.x-no-rdata?rev=1.1.2.1&only_with_tag=QT_WIN32_3_3_BRANCH&view=log">specific 
  488.         ld linker script </A>and either 
  489.         <LI>add the following switches to your link line: <PRE class=shell>... -Wl,--enable-runtime-pseudo-reloc -Wl,--script,< YOUR_PATH >/i386pe.x-no-rdata
  490. </PRE>
  491.         <LI>or use the following configure line <PRE class=shell><B>LDFLAGS="-Wl,--enable-runtime-pseudo-reloc -Wl,--script,< YOUR_PATH >/i386pe.x-no-rdata"</B> .. configure ... 
  492. </PRE></LI></UL>
  493.       <H2><A name=kcminit>With cygwin 1.5.5-1 starting the small KDE desktop 
  494.       works, but starting full KDE hangs - What could I do ? </A></H2>
  495.       <P>Is seems that cygwin 1.5.5-1 contains a bug, which lets kcminit hangs. 
  496.       Currently three workarounds are known: 
  497.       <OL>
  498.         <LI>Remove the term '+kcminit' from /opt/kde3/startkde.bat or 
  499.         /opt/kde3/bin/startkde if you are starting kde from a bash shell. Please 
  500.         note that this disables special keyboard layout settings, which is no 
  501.         problem is you are using the standard keyboard. 
  502.         <LI>downgrade to cygwin 1.5.4-1, which does not contain this error. 
  503.         <LI>install a cygwin snapshot from <A 
  504.         href="http://www.cygwin.com/">http://www.cygwin.com/</A> 
  505.         <LI>wait for the next cygwin upgrade </LI></OL>
  506.       <H2><A name=win9x_env>After running startkde.bat under windows 9x I got 
  507.       the following messages: Out of environment space - What can I do ? 
  508.       </A></H2>The W9x dos shell default environment space is to small for kde. 
  509.       To extend see <A 
  510.       href="http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q230/2/05.ASP&NoWebContent=1">Microsoft 
  511.       Knowledge Base Article - 230205</A>. 
  512.       <H2><A name=dll_a>I have installed the KDE3 devel setup package, but I 
  513.       cannot find any *.dll.a files in the kde's lib dir. What's going wrong ? 
  514.       </A></H2>
  515.       <P>The *.dll.a files are so-called "import libraries" for the linker and 
  516.       are symbolic links to the related dll. It seems that the inno setup 
  517.       compiler is not able to deal with symbolic links. I will see how this 
  518.       could be fixed in further releases. 
  519.       <P>A workaround is to use the following sh script, which recreates the 
  520.       necessary links. Enter /opt/kde3/bin before running it. <PRE class=shell>for i in `ls *.dll`; do cd ../lib;  j=`echo $i | sed \
  521.  "s,-[0-9.-]*dll,.dll,g;s,cyg,lib,g"`; ln -fs ../bin/$i $j.a; cd ../bin ; \
  522. done
  523. </PRE>
  524.       <H2><A name=debug_kde3>How do I debug the KDE3 start procedure in case of 
  525.       problems ? </A></H2>Requirements: 
  526.       <OL>
  527.         <LI>Please make sure, you have a full working cygwin and xfree 
  528.         installation 
  529.         <LI>Don't use rebased or rebinded kde dll's or applications, because 
  530.         this could result in segfault problems. If you not know anything about 
  531.         this terms, you can skip the next sentence. If you have rebased or 
  532.         rebinded <B>reinstall</B> the KDE packages. </LI></OL>
  533.       <P></P>
  534.       <P>Lets start: </P>
  535.       <OL>
  536.         <LI>enter a bash shell and set kde related environment <PRE class=shell>export KDEDIR=/opt/kde3.4
  537. export QTDIR=/opt/qt/3.3
  538. export KDEHOME=/opt/kde3.4/home
  539. export PATH=$KDEDIR/bin:$KDEDIR/lib:$QTDIR/bin:/usr/X11R6/bin:$PATH
  540. export LTDL_LIBRARY_PATH=$KDEDIR/lib:$KDEDIR/bin:/usr/X11R6/bin
  541. export LD_LIBRARY_PATH=$KDEDIR/lib:$KDEDIR/bin:/usr/X11R6/bin
  542. export DISPLAY=127.0.0.1:0
  543. </PRE>
  544.         <LI>start xserver <PRE class=shell>$ XWin  -nowinkill -noreset &
  545. </PRE>
  546.         <LI>try to start dcopserver <PRE class=shell>$ dcopserver
  547. </PRE>
  548.         <P>afterwards the following lines should be printed (note that the 
  549.         printed pid numbers <I>anonymous-xxxx</I> are samples and may be 
  550.         different for you): </P><PRE class=shell>_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
  551. DCOP: register 'anonymous-xxxx' -> number of clients is now 1
  552. DCOPServer up and running.
  553. DCOP: unregister 'anonymous-xxx'
  554. </PRE>
  555.         <P>additional the following files should be available (part of the names 
  556.         may be different)</P><PRE class=shell>$ ls /tmp/.ICE-unix/  -l
  557. total 0
  558. srwxrwxrwx    1 1002     Kein           51 Jun 14 11:15 dcop2256-1024046152
  559. </PRE><PRE class=shell><SMALL>
  560. $ ls al ~/.DCOP*
  561. lrwxrwxrwx 1 1002 Kein 191 Jun 14 11:33 .DCOPserver_BRAMSCHE -> /home/habacker/.DCOPserver_BRAMSCHE_BRAMSCHE-0
  562. -rwxrwxrwx 1 1002 Kein  55 Jun 14 11:33 .DCOPserver_BRAMSCHE_BRAMSCHE-0
  563. </SMALL></PRE>Additional possible errors could be: 
  564.         <UL>
  565.           <LI> <A 
  566.           href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dcopserver_running">Why 
  567.           do I get the message "It looks like dcopserver is already running.." 
  568.           ?</A>  
  569.           <LI> <A 
  570.           href="http://kde-cygwin.sourceforge.net/kde3/faq.php#dcop_auth">Why do 
  571.           I get the message "DCOPClient::attachInternal. Attach failed 
  572.           Authentication Rejected" ?</A>  </LI></UL>
  573.         <LI>try to start kdeinit <PRE class=shell>$ kdeinit --no-dcop --no-kded
  574. </PRE>
  575.         <P>then the following lines should be printed (note that xxxx and 
  576.         <HOSTNAME>are placeholders):</P><PRE class=shell>kdeinit: launch -> klauncher (null)
  577. kdeinit: Launched KLauncher, pid = xxxx result = 0
  578. DCOP: register 'klauncher' -> number of clients is now 1
  579. DCOP: unregister 'klauncher'
  580. DCOP: register 'klauncher' -> number of clients is now 1
  581. kdecore (KSocket): Trying to listen on Unix /home/xxxxx/.kde2/socket-
  582.  <HOSTNAME>/klauncherjjHrMb.slave-socket
  583. DCOP: register 'anonymous-xxxx' -> number of clients is now 2
  584. kdecore (KSocket): Socket bound: 7
  585. DCOP: new daemon klauncher
  586. DCOP: unregister 'anonymous-xxxx'
  587. kdeinit: opened connection to <HOSTNAME>:0.0
  588. </PRE>
  589.         <LI>
  590.         <P>try to start kded </P><PRE class=shell>$ kded
  591. </PRE>
  592.         <P>then the following lines should be printed </P><PRE class=shell>DCOP: register 'kded' -> number of clients is now 1
  593. DCOP: unregister 'kded'
  594. DCOP: register 'kded' -> number of clients is now 1
  595. DCOP: register 'anonymous-2180' -> number of clients is now 2
  596. kded: Does not exist! (/home/xxx/.kde3/share/servicetypes/)
  597. kded: Does not exist! (/home/xxx/.kde3/share/mimelnk/)
  598. kded: Does not exist! (/home/xxx/.kde3/share/services/)
  599. DCOP: register 'anonymous-2132' -> number of clients is now 3
  600. kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
  601. kdeinit: Got EXEC_NEW 'kbuildsycoca' from launcher.
  602. kdeinit: launch -> kbuildsycoca --incremental
  603. library=kbuildsycoca.la: No file names kbuildsycoca.la found in paths.
  604. Could not load library! Trying exec....
  605. kio (KLauncher): kbuildsycoca (pid 2064) up and running.
  606. DCOP: register 'kbuildsycoca' -> number of clients is now 4
  607. kbuildsycoca: Recreating ksycoca file
  608. kbuildsycoca: Database is up to date
  609. kdeinit: PID 2064 terminated.
  610. DCOP: unregister 'kbuildsycoca'
  611. DCOP: unregister 'anonymous-2132'
  612. kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kconf_update', ...)
  613. kdeinit: Got EXEC_NEW 'kconf_update' from launcher.
  614. kdeinit: launch -> kconf_update ☺
  615. kio (KLauncher): kconf_update (pid 2736) up and running.
  616. kdeinit: PID 2736 terminated.
  617. DCOP: new daemon kded
  618. </PRE>
  619.         <LI>start kwin <PRE class=shell>$ kwin &
  620. </PRE>
  621.         <P>then the following lines should be printed (note that the printed pid 
  622.         numbers <I>anonymous-xxxx</I> are samples and may be different for you): 
  623.         </P><PRE class=shell>DCOP: register 'anonymous-1380' -> number of clients is now 1
  624. kio (KLauncher): KLauncher: Got start_service_by_desktop_name('knotify', ...)
  625. kdeinit: Got EXEC_NEW 'knotify' from launcher.
  626. kdeinit: launch -> knotify ☺
  627. kio (KLauncher): knotify (pid 2056) up and running.
  628. DCOP: register 'knotify' -> number of clients is now 2
  629. DCOP: register 'anonymous-2056' -> number of clients is now 3
  630. DCOP: unregister 'anonymous-1380'
  631. DCOP: register 'anonymous-1380' -> number of clients is now 3
  632. DCOP: unregister 'anonymous-1380'
  633. DCOP: register 'kwin' -> number of clients is now 3
  634. DCOP: new daemon knotify
  635. DCOP: unregister 'anonymous-2056'
  636. kdeinit: PID 2056 terminated.
  637. </PRE></LI></OL>
  638.       <P class=question>If any of this messages are not printed or looks 
  639.       different, than you have a problem with this step, for which you should 
  640.       search the mailing lists or the foren. </P>
  641.       <H2><A name=png12>I've got a message about a missing file 'cygpng12.dll' - 
  642.       What could I do ? </A></H2>
  643.       <P>That means you haven't installed one of the needed cygwin base 
  644.       packages. You should start again the cygwin installer and install the 
  645.       <B>libpng12</B> packages. 
  646.       <P>General hint: If you are missing a file and don't know to which package 
  647.       it belongs, enter it's name on <A 
  648.       href="http://cygwin.com/packages/">http://cygwin.com/packages/</A>. Then 
  649.       it prints out the package(s) where this file belongs. 
  650.       <H3>KDevelop </H3>
  651.       <H2><A name=kdevelop_appwizard>I can't create a new project - what's going 
  652.       wrong ? </A></H2>This could be a packaging issue. Try the following 
  653.       command (requires an installed perl package) after installation of 
  654.       kdevelop: <PRE class=shell>cd /opt/kde3/share/apps/kdevappwizard/
  655. for i in ` grep -sHr kdevelop-3.0.0-r8 * | sed 's,:#!.*,,g'` ; do echo $i; \
  656.    perl -pi -e "s,/var/tmp/portage/kdevelop-3.0.0-r8/image/,,g" $i; done
  657. </PRE>
  658.       <TABLE width="100%">
  659.         <TBODY>
  660.         <TR>
  661.           <TD colSpan=2> </TD></TR>
  662.         <TR>
  663.           <TD align=left width="50%">Prev:<A 
  664.             href="http://kde-cygwin.sourceforge.net/kde3/compiling.php">Compiling</A></TD>
  665.           <TD align=right width="50%">Next:<A 
  666.             href="http://kde-cygwin.sourceforge.net/kde3/index.php">Overview</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  667. <HR>
  668.  
  669. <TABLE width="100%" summary="" border=0>
  670.   <TBODY>
  671.   <TR>
  672.     <TD width="21%">Hosted by <A href="http://sourceforge.net/"><IMG 
  673.       alt=SourceForge 
  674.       src="http://sourceforge.net/sflogo.php?group_id=27249&type=1" 
  675.       align=middle border=0></A></TD>
  676.     <TD><A href="http://www.webcounter.goweb.de/"><IMG 
  677.       alt="GOWEBCounter by INLINE" src="http://webcounter.goweb.de/99241.GIF" 
  678.       border=0></A> visitors</TD></TR></TBODY></TABLE></BODY></HTML>
  679.  
  680.